function warn(msg: string) {
  console.error(`[BScroll warn]: ${msg}`);
}
function assert(condition: boolean, msg: string) {
  if (!condition) {
    throw new Error(('[BScroll] ' + msg));
  }
}

export { warn, assert }
